[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
cputs() Write a String to the Console
#include <conio.h>
int cputs(str);
const char *str; Pointer to output string
cputs() writes a null-terminated string to the current text window.
Returns: The last character printed.
Notes: A carriage-return-line-feed combination is not
automatically appended to the string after writing.
Portability: IBM PC and compatibles only.
-------------------------------- Example ---------------------------------
The following statement prints a string to the console, along with a
carriage-return and line-feed.
#include <conio.h>
char *string = "Print this line on the screen. \r\n";
main()
{
cputs(string);
}
See Also:
putch()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson